package com.rewind.test.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Rewind
 */
@Data
@Component
@ConfigurationProperties(prefix = "car")
public class Car {
    private String name;
    private Integer price;
}
